<div>
    <div class="content d-flex flex-column flex-column-fluid">

        <sub-header [title]="'LotterySetup' | localize" [description]="activityId + '|' + activityName">
            <div action="back"><i class="icon-fanhui text-info" (click)="goBack()"></i></div>
            <div role="actions"></div>
        </sub-header>

        <div [class]="containerClass">
            <div class="card card-custom gutter-b">
                <div class="card-body">
                    <div class="row">
                        <div class="modal-body">
                            <tabset class="tab-container tabbable-line">
                                <tab heading="{{l('BasicSetup')}}" customClass="m-tabs__item icon-jibenxinxi"
                                    (selectTab)="changeSetup('basic')">
                                </tab>
                                <tab heading="{{l('AdvancedSetup')}}" customClass="m-tabs__item icon-gaojishezhi"
                                    (selectTab)="changeSetup('advanced')">
                                </tab>
                                <tab heading="{{l('LotterySetup')}}" active="true"
                                    customClass="m-tabs__item active icon-jiangxiangshezhi"
                                    (selectTab)="changeSetup('prize')">
                                    <tabset class="tab-container tabbable-line">
                                        <tab heading="{{l('BasicSetup')}}" customClass="m-tabs__item">
                                            <form #tForm="ngForm" name="tForm" novalidate (ngSubmit)="AwardSettings()"
                                                autocomplete="off" [busyIf]="savingSet">

                                                <div class="modal-body">

                                                    <div class="row">
                                                        <div class="form-group col-3"
                                                            style="position:relative;top:5px;">
                                                            <label class="m-checkbox checkbox-primary"
                                                                style="position:relative;top:0;">
                                                                <input
                                                                    [(ngModel)]="AwardSetting.isEnableWhiteUser"
                                                                    type="checkbox"
                                                                    name="isEnableWhiteUser" />{{l("Usewhitelist")}}
                                                                <span></span>
                                                            </label>
                                                        </div>

                                                        <div class="form-group col-3"
                                                            style="position:relative;top:5px;">
                                                            <label class="m-checkbox checkbox-primary"
                                                                style="position:relative;top:0;">
                                                                <input
                                                                    [(ngModel)]="AwardSetting.isEnableBlackUser"
                                                                    type="checkbox"
                                                                    name="isEnableBlackUser" />{{l("Useblacklist")}}
                                                                <span></span>
                                                            </label>
                                                        </div>


                                                        <div class="form-group col-3"
                                                            style="position:relative;top:5px;">
                                                            <label class="checkbox checkbox-primary"
                                                                style="position:relative;top:0;">
                                                                <input
                                                                    [(ngModel)]="AwardSetting.isNeedAwardInfo"
                                                                    type="checkbox"
                                                                    name="isNeedAwardInfo" />{{l("FormPrizeInfo")}}
                                                                <span></span>
                                                            </label>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="form-group col-3"
                                                            style="position:relative;top:5px;">
                                                            <label style="display:block;">&nbsp;</label>
                                                            <label class="m-checkbox checkbox-primary"
                                                                style="position:relative;top:0;">
                                                                <input
                                                                    [(ngModel)]="AwardSetting.isAllowedRepeatAward"
                                                                    type="checkbox"
                                                                    name="isAllowedRepeatAward" />{{l("RepeatPrize")}}
                                                                <span></span>
                                                            </label>
                                                        </div>
                                                        <div class="form-group col-3"
                                                            *ngIf="AwardSetting.isAllowedRepeatAward"
                                                            style="position:relative;top:5px;">
                                                            <label style="display:block;">&nbsp;</label>
                                                            <label class="m-checkbox checkbox-primary"
                                                                style="position:relative;top:0;">
                                                                <input
                                                                    [(ngModel)]="AwardSetting.isAwardType"
                                                                    type="checkbox"
                                                                    name="isAwardType" />{{l("isAwardType")}}
                                                                <span></span>
                                                            </label>
                                                        </div>

                                                        <div class="form-group col-3"
                                                            *ngIf="AwardSetting.isAllowedRepeatAward"
                                                            style="position:relative;top:5px;">
                                                            <label
                                                                style="display:block;">{{l("RepeatAwardDurations")}}</label>
                                                            <input class="form-control"
                                                                [(ngModel)]="AwardSetting.repeatAwardDurations"
                                                                type="number" name="repeatAwardDurations" />
                                                        </div>
                                                        <div class="form-group col-3"
                                                            *ngIf="AwardSetting.isAllowedRepeatAward"
                                                            style="position:relative;top:5px;">
                                                            <label
                                                                style="display:block;">{{l("RepeatAwardTimes")}}</label>
                                                            <input class="form-control"
                                                                [(ngModel)]="AwardSetting.repeatAwardTimes"
                                                                type="number" name="repeatAwardTimes" />
                                                        </div>
                                                    </div>


                                                    <div class="row">
                                                        <div class="form-group col-3"
                                                            style="position:relative;top:5px;">
                                                            <label style="display:block;">&nbsp;</label>
                                                            <label class="m-checkbox checkbox-primary"
                                                                style="position:relative;top:0;">
                                                                <input
                                                                    [(ngModel)]="AwardSetting.isAllowedShareGetLotteryTimes"
                                                                    type="checkbox"
                                                                    name="isAllowedShareGetLotteryTimes" />{{l("IsAllowedShareGetLotteryTimes")}}
                                                                <span></span>
                                                            </label>
                                                        </div>
                                                        <div class="form-group col-3"
                                                            *ngIf="AwardSetting.isAllowedShareGetLotteryTimes"
                                                            style="position:relative;top:5px;">
                                                            <label
                                                                style="display:block;">{{l("ShareDurations")}}</label>
                                                            <input class="form-control"
                                                                [(ngModel)]="AwardSetting.shareDurations" type="number"
                                                                name="shareDurations" />
                                                        </div>
                                                        <div class="form-group col-3"
                                                            *ngIf="AwardSetting.isAllowedShareGetLotteryTimes"
                                                            style="position:relative;top:5px;">
                                                            <label
                                                                style="display:block;">{{l("ShareLotteryTimes")}}</label>
                                                            <input class="form-control"
                                                                [(ngModel)]="AwardSetting.shareLotteryTimes"
                                                                type="number" name="shareLotteryTimes" />
                                                        </div>

                                                    </div>




                                                </div>
                                                <div class="modal-footer">
                                                    <button type="submit" class="btn btn-primary blue"
                                                        [buttonBusy]="savingSet" [disabled]="!tForm.form.valid"
                                                        [busyText]="l('SavingWithThreeDot')">
                                                        <i class="fa fa-save"></i>
                                                        <span>{{l("Save")}}</span>
                                                    </button>
                                                </div>
                                            </form>
                                        </tab>
                                        <tab heading="{{l('PrizeSetup')}}" customClass="m-tabs__item">
                                            <div>
                                                <div class="m-subheader">
                                                    <div class="d-flex align-items-center">
                                                        <div class="mr-auto col-sm-12 col-md-3">
                                                            <h3 class="m-subheader__title m-subheader__title--separator"
                                                                style="border:none;">
                                                                <span>{{l("PrizeSetup")}}</span>
                                                            </h3>
                                                        </div>
                                                        <div class="text-right  col-sm-12 col-md-9">
                                                            <button (click)="deletePrizeList()"
                                                                class="btn btn-primary blue">
                                                                <i class="icon-piliangcaozuo"></i>
                                                                {{l("deleteBatch")}}</button>
                                                            <button class="btn btn-primary" (click)="createPrize()"
                                                                *ngIf="isGranted('Pages.Tenant.Activities.Create')">
                                                                <i class="fa fa-plus"></i>
                                                                {{l("CreateNewPrize")}}</button>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div [class]="containerClass">
                                                    <div class="card card-custom gutter-b">
                                                        <div class="card-body">
                                                            <div class="row">
                                                                <div class="row align-items-center">
                                                                    <!--<Primeng-Datatable-Start>-->
                                                                    <div class="primeng-datatable-container"
                                                                        [busyIf]="PrizePrimeng.isLoading">
                                                                        <!-- resizableColumns="PrizePrimeng.resizableColumns" -->
                                                                        <p-table #prizeDataTable
                                                                            (onLazyLoad)="getPrize($event)"
                                                                            [value]="PrizePrimeng.records"
                                                                            [rows]="PrizePrimeng.defaultRecordsCountPerPage"
                                                                            [(selection)]="prizeList"
                                                                            [paginator]="false" [lazy]="true"
                                                                            [resizableColumns]="PrizePrimeng.resizableColumns"
                                                                            [responsive]="PrizePrimeng.isResponsive">
                                                                            <ng-template pTemplate="header">
                                                                                <tr>
                                                                                    <th
                                                                                        *ngIf="isGranted('Pages.Tenant.Activities.Delete')||isGranted('Pages.Tenant.Activities.Edit')">
                                                                                        {{l('Actions')}}</th>
                                                                                    <th style="width: 5.0em">
                                                                                        <p-tableHeaderCheckbox>
                                                                                        </p-tableHeaderCheckbox>
                                                                                    </th>
                                                                                    <th style="width:5%">
                                                                                        {{l('RecordId')}}
                                                                                    </th>
                                                                                    <th>{{l('awardImage')}}</th>
                                                                                    <!-- <th>{{l('award')}}</th> -->
                                                                                    <th>{{l('name')}}</th>
                                                                                    <th pSortableColumn="awardSeq">
                                                                                        {{l('awardlevel')}}
                                                                                        <p-sortIcon field="awardSeq">
                                                                                        </p-sortIcon>
                                                                                    </th>
                                                                                    <th>{{l('planCount')}}</th>
                                                                                    <th>{{l('givenCount')}}</th>
                                                                                    <th>{{l('type')}}</th>
                                                                                    <th pSortableColumn="rate">
                                                                                        {{l('awardPercentage')}}
                                                                                        <p-sortIcon field="rate">
                                                                                        </p-sortIcon>
                                                                                    </th>
                                                                                </tr>
                                                                            </ng-template>
                                                                            <ng-template pTemplate="body" let-record
                                                                                let-i="rowIndex">
                                                                                <tr [pSelectableRow]="record"
                                                                                    [attr.trid]="record.id">
                                                                                    <td
                                                                                        *ngIf="isGranted('Pages.Tenant.Activities.Delete')||isGranted('Pages.Tenant.Activities.Edit')">
                                                                                        <div class="btn-group dropdown"
                                                                                            dropdown normalizePosition>
                                                                                            <button
                                                                                                class="dropdown-toggle btn btn-sm btn-primary"
                                                                                                data-toggle="dropdown"
                                                                                                aria-haspopup="true"
                                                                                                dropdownToggle
                                                                                                aria-expanded="false">
                                                                                                <i
                                                                                                    class="fa fa-cog"></i>
                                                                                                <span
                                                                                                    class="caret"></span>
                                                                                                {{l("Actions")}}
                                                                                            </button>
                                                                                            <ul class="dropdown-menu"
                                                                                                *dropdownMenu>
                                                                                                <li
                                                                                                    *ngIf="isGranted('Pages.Tenant.Activities.Edit')">
                                                                                                    <a (click)="editPrize(record)"
                                                                                                        class="icon-bianji dropdown-item">{{l('Edit')}}</a>
                                                                                                </li>
                                                                                                <li
                                                                                                    *ngIf="isGranted('Pages.Tenant.Activities.Delete')">
                                                                                                    <a (click)="deletePrize(record)"
                                                                                                        class="icon-icon-test dropdown-item">{{l('Delete')}}</a>
                                                                                                </li>
                                                                                            </ul>
                                                                                        </div>
                                                                                    </td>
                                                                                    <td style="width: 5.0em">
                                                                                        <p-tableCheckbox
                                                                                            [value]="record">
                                                                                        </p-tableCheckbox>
                                                                                    </td>
                                                                                    <td> {{transIndex(i,prizePaginator)}}
                                                                                    </td>
                                                                                    <td>
                                                                                        <img
                                                                                            [src]="fixFileUrl(record.awardImagePath)" />
                                                                                    </td>
                                                                                    <!-- <td>
                                                                <span>{{record.awardProduct}}</span>
                                                            </td> -->
                                                                                    <td>{{record.name}}</td>
                                                                                    <td>{{record.awardSeq}}</td>
                                                                                    <td>{{record.planQty}}</td>
                                                                                    <td>{{record.actualQty}}</td>
                                                                                    <td *ngIf="record.type==0">
                                                                                        {{l('Coupon')}}</td>
                                                                                    <td *ngIf="record.type==1">
                                                                                        {{l('Products')}}</td>
                                                                                    <td *ngIf="record.type==2">
                                                                                        {{l('ThankYou')}}</td>
                                                                                    <td>{{record.rate}}</td>
                                                                                </tr>
                                                                            </ng-template>
                                                                            <ng-template pTemplate="emptymessage"
                                                                                let-records>
                                                                                <tr *ngIf="PrizePrimeng.records">
                                                                                    <td colspan="10">
                                                                                        <img class="emptymessage"
                                                                                            src="/assets/common/images/placeholder/couponHolder.png" />
                                                                                    </td>
                                                                                </tr>
                                                                            </ng-template>
                                                                        </p-table>
                                                                        <div class="primeng-paging-container">
                                                                            <p-paginator
                                                                                [rows]="PrizePrimeng.defaultRecordsCountPerPage"
                                                                                #prizePaginator
                                                                                (onPageChange)="getPrize($event)"
                                                                                [totalRecords]="PrizePrimeng.totalRecordsCount"
                                                                                [rowsPerPageOptions]="PrizePrimeng.predefinedRecordsCountPerPage">
                                                                            </p-paginator>
                                                                            <span class="total-records-count">
                                                                                {{l('TotalRecordsCount',
                                                                        PrizePrimeng.totalRecordsCount)}}
                                                                            </span>
                                                                        </div>
                                                                    </div>
                                                                    <!--<Primeng-Datatable-End>-->
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </tab>
                                        <tab heading="{{l('BlackWhiteListSetup')}}" customClass="m-tabs__item">
                                            <div>
                                                <div class="m-subheader">
                                                    <div class="d-flex align-items-center">
                                                        <div class="mr-auto col-sm-12 col-md-3">
                                                            <h3 class="m-subheader__title m-subheader__title--separator"
                                                                style="border:none;">
                                                                <span>{{l("BlackWhitelistList")}}</span>
                                                            </h3>
                                                        </div>
                                                        <div class="text-right  col-sm-12 col-md-9">
                                                            <!-- <button class="btn btn-primary" (click)="goImport()">
                                        <i class="icon-excel"></i> {{l('import')}} </button> -->
                                                            <button (click)="deleteWhitelistList()"
                                                                class="btn btn-primary blue">
                                                                <i class="icon-piliangcaozuo"></i>
                                                                {{l("deleteBatch")}}</button>
                                                            <button class="btn btn-primary" (click)="createWhitelist()"
                                                                *ngIf="isGranted('Pages.Tenant.Activities.Create')">
                                                                <i class="fa fa-plus"></i>
                                                                {{l("CreateNewBlackWhitelist")}}</button>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div [class]="containerClass">
                                                    <div class="card card-custom gutter-b">
                                                        <div class="card-body">
                                                            <div class="row">
                                                                <div class="row align-items-center">
                                                                    <!--<Primeng-Datatable-Start>-->
                                                                    <div class="primeng-datatable-container"
                                                                        [busyIf]="WhitelistPrimeng.isLoading">
                                                                        <!-- resizableColumns="WhitelistPrimeng.resizableColumns" -->
                                                                        <p-table #whitelistDataTable
                                                                            (onLazyLoad)="getWhitelist($event)"
                                                                            [value]="WhitelistPrimeng.records"
                                                                            [rows]="WhitelistPrimeng.defaultRecordsCountPerPage"
                                                                            [(selection)]="whitelistList"
                                                                            [paginator]="false" [lazy]="true"
                                                                            [resizableColumns]="WhitelistPrimeng.resizableColumns"
                                                                            [responsive]="WhitelistPrimeng.isResponsive">
                                                                            <ng-template pTemplate="header">
                                                                                <tr>
                                                                                    <th
                                                                                        *ngIf="isGranted('Pages.Tenant.Activities.Delete')||isGranted('Pages.Tenant.Activities.Edit')">
                                                                                        {{l('Actions')}}</th>
                                                                                    <th style="width: 5.0em">
                                                                                        <p-tableHeaderCheckbox>
                                                                                        </p-tableHeaderCheckbox>
                                                                                    </th>
                                                                                    <th style="width:5%">
                                                                                        {{l('RecordId')}}
                                                                                    </th>
                                                                                    <th>{{l('realName')}}</th>
                                                                                    <th pSortableColumn="type">
                                                                                        {{l('type')}}
                                                                                        <p-sortIcon field="type">
                                                                                        </p-sortIcon>
                                                                                    </th>
                                                                                    <th>{{l('nickName')}}</th>
                                                                                    <th>{{l('headImage')}}</th>
                                                                                    <th>{{l('PhoneNumber')}}</th>
                                                                                    <th>{{l('address')}}</th>
                                                                                    <th>{{l('from')}}</th>

                                                                                </tr>
                                                                            </ng-template>
                                                                            <ng-template pTemplate="body" let-record
                                                                                let-i="rowIndex">
                                                                                <tr [pSelectableRow]="record"
                                                                                    [attr.trid]="record.id">
                                                                                    <td
                                                                                        *ngIf="isGranted('Pages.Tenant.Activities.Delete')||isGranted('Pages.Tenant.Activities.Edit')">
                                                                                        <div class="btn-group dropdown"
                                                                                            normalizePosition dropdown>
                                                                                            <button
                                                                                                class="dropdown-toggle btn btn-sm btn-primary"
                                                                                                data-toggle="dropdown"
                                                                                                aria-haspopup="true"
                                                                                                dropdownToggle
                                                                                                aria-expanded="false">
                                                                                                <i
                                                                                                    class="fa fa-cog"></i>
                                                                                                <span
                                                                                                    class="caret"></span>
                                                                                                {{l("Actions")}}
                                                                                            </button>
                                                                                            <ul class="dropdown-menu"
                                                                                                *dropdownMenu>
                                                                                                <li
                                                                                                    *ngIf="isGranted('Pages.Tenant.Activities.Edit')">
                                                                                                    <a (click)="editWhiteList(record)"
                                                                                                        class="icon-bianji dropdown-item">{{l('Edit')}}</a>
                                                                                                </li>
                                                                                                <li
                                                                                                    *ngIf="isGranted('Pages.Tenant.Activities.Delete')">
                                                                                                    <a (click)="deleteWhiteList(record)"
                                                                                                        class="icon-icon-test dropdown-item">{{l('Delete')}}</a>
                                                                                                </li>
                                                                                            </ul>
                                                                                        </div>
                                                                                    </td>
                                                                                    <td>
                                                                                        <p-tableCheckbox
                                                                                            [value]="record">
                                                                                        </p-tableCheckbox>
                                                                                    </td>
                                                                                    <td> {{transIndex2(i,whitelistPaginator)}}
                                                                                    </td>
                                                                                    <td>
                                                                                        <span>{{record.name}}</span>
                                                                                    </td>
                                                                                    <td>
                                                                                        <span
                                                                                            *ngIf="record.type==0">{{l('WhitelistList')}}</span>
                                                                                        <span
                                                                                            *ngIf="record.type==1">{{l('BlacklistList')}}</span>
                                                                                    </td>
                                                                                    <td>
                                                                                        <span
                                                                                            *ngIf="record.snsUserInfo">{{record.snsUserInfo.nickname}}</span>
                                                                                    </td>
                                                                                    <td>
                                                                                        <img *ngIf="record.snsUserInfo"
                                                                                            [src]="fixFileUrl(record.snsUserInfo.headimgurl)" />
                                                                                    </td>
                                                                                    <td>
                                                                                        <span>{{record.phone}}</span>
                                                                                    </td>
                                                                                    <td>
                                                                                        <span>{{record.address}}</span>
                                                                                    </td>
                                                                                    <td>
                                                                                        <span
                                                                                            *ngIf="record.snsUserInfo&&record.snsUserInfo.snsType=='1'">WeChat</span>
                                                                                        <span
                                                                                            *ngIf="record.snsUserInfo&&record.snsUserInfo.snsType!='1'">Taobao</span>
                                                                                    </td>
                                                                                </tr>
                                                                            </ng-template>
                                                                            <ng-template pTemplate="emptymessage"
                                                                                let-records>
                                                                                <tr *ngIf="WhitelistPrimeng.records">
                                                                                    <td colspan="10">
                                                                                        <img class="emptymessage"
                                                                                            src="/assets/common/images/placeholder/couponHolder.png" />
                                                                                    </td>
                                                                                </tr>
                                                                            </ng-template>
                                                                        </p-table>
                                                                        <div class="primeng-paging-container">
                                                                            <p-paginator
                                                                                [rows]="WhitelistPrimeng.defaultRecordsCountPerPage"
                                                                                #whitelistPaginator
                                                                                (onPageChange)="getWhitelist($event)"
                                                                                [totalRecords]="WhitelistPrimeng.totalRecordsCount"
                                                                                [rowsPerPageOptions]="WhitelistPrimeng.predefinedRecordsCountPerPage">
                                                                            </p-paginator>
                                                                            <span class="total-records-count">
                                                                                {{l('TotalRecordsCount',
                                                                        WhitelistPrimeng.totalRecordsCount)}}
                                                                            </span>
                                                                        </div>
                                                                    </div>
                                                                    <!--<Primeng-Datatable-End>-->
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </tab>
                                        <tab heading="{{l('PrizeInfoSetup')}}" customClass="m-tabs__item"
                                            [busyIf]="messageBusy||saving">
                                            <form #PersonalitysForm="ngForm" name="CommonForm" novalidate
                                                (ngSubmit)="save()" autocomplete="off">
                                                <div class="modal-body">
                                                    <div class="row">
                                                        <div class="col-9">
                                                            <div class="row">
                                                                <div class="form-group col-12">
                                                                    <label>{{l("title")}}</label>
                                                                    <input class="form-control" type="text" name="title"
                                                                        required [(ngModel)]="Message.title"
                                                                        placeholder="{{l('title')}}">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="col-6">
                                                                    <div
                                                                        class="form-group m-form__group align-items-center">
                                                                        <label>{{l('PageTemplate')}}</label>
                                                                        <div class="input-group">
                                                                            <select class="form-control"
                                                                                [(ngModel)]="Message.htmlTemplateID"
                                                                                name="htmlTemplateID">
                                                                                <option
                                                                                    *ngFor="let item of templateList"
                                                                                    [value]="item.id">{{item.title}}
                                                                                </option>
                                                                            </select>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="form-group col-6">
                                                                    <label>{{l("link")}}</label>
                                                                    <input class="form-control" type="text" name="url"
                                                                        [(ngModel)]="Message.url"
                                                                        pattern="^(https?|ftp|file)://[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]$">
                                                                </div>
                                                            </div>
                                                            <div class="row">
                                                                <div class="form-group col-12">
                                                                    <label>{{l("description")}}</label>
                                                                    <textarea class="form-control" rows="5"
                                                                        name="textMessage"
                                                                        [(ngModel)]="Message.textMessage"></textarea>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-3">
                                                            <div class="row">
                                                                <div class="col-12">
                                                                    <div class="form-group">
                                                                        <label
                                                                            class="control-label">{{l("Image")}}</label>
                                                                        <app-fileupload [fileUrl]="Message.picUrl"
                                                                            (onUpLoadEvent)="imageOnUpload($event)"
                                                                            accept="image/*"></app-fileupload>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="modal-footer">
                                                    <button type="submit" class="btn btn-primary blue"
                                                        [disabled]="!PersonalitysForm.form.valid" [buttonBusy]="saving"
                                                        [busyText]="l('SavingWithThreeDot')">
                                                        <i class="fa fa-save"></i>
                                                        <span>{{l("Save")}}</span>
                                                    </button>
                                                </div>
                                            </form>
                                        </tab>
                                    </tabset>
                                </tab>
                                <tab *ngIf="!deviceId" heading="{{l('GameSetup')}}"
                                    customClass="m-tabs__item icon-youxiguanli" (selectTab)="changeSetup('game')">
                                </tab>
                            </tabset>
                            <createOrEditPrizeModal #createOrEditPrizeModal (modalSave)="getPrize()">
                            </createOrEditPrizeModal>
                            <createOrEditWhiteListModal #createOrEditWhiteListModal (modalSave)="getWhitelist()">
                            </createOrEditWhiteListModal>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>